import request from '@/utils/request'

// 查询导入明细列表
export function listSampleboxImportDetail(query) {
  return request({
    url: '/erecord/sampleboxImportDetail/list',
    method: 'get',
    params: query
  })
}

// 查询导入明细详细
export function getSampleboxImportDetail(id) {
  return request({
    url: '/erecord/sampleboxImportDetail/' + id,
    method: 'get'
  })
}

// 新增导入明细
export function addSampleboxImportDetail(data) {
  return request({
    url: '/erecord/sampleboxImportDetail',
    method: 'post',
    data: data
  })
}

// 修改导入明细
export function updateSampleboxImportDetail(data) {
  return request({
    url: '/erecord/sampleboxImportDetail',
    method: 'put',
    data: data
  })
}

// 删除导入明细
export function delSampleboxImportDetail(id) {
  return request({
    url: '/erecord/sampleboxImportDetail/' + id,
    method: 'delete'
  })
}
